package org.extframework.ld.sort;

import java.util.Comparator;

import org.extframework.ld.content.model.XmlMenuNode;

/**
 * @author : Dong.Li
 * @created : 2013-1-28
 * @version : 1.0
 * @description :
 */
public class XmlMenuSort implements Comparator<XmlMenuNode>  {

	public int compare(XmlMenuNode o1, XmlMenuNode o2) {
		if(o1.getSort()>o2.getSort()){
			return 1;
		}
		return 0;
	}


}
